package com.example.rightmost.service;

import com.example.rightmost.entity.Result;
import com.example.rightmost.entity.TopicCategory;

import java.util.List;

public interface CategoryService {

    List<TopicCategory> getCategoryList(TopicCategory category);

    Result deleteCategory(Integer id);

    Result updateStatus(Integer id);

    Result addCategory(String name);

    Result updateCategory(TopicCategory category);

    //gao
    List<TopicCategory> getTabs();

}
